package com.pubinfo.passbook.common.service.master;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pubinfo.passbook.common.entity.TSourceInvoice;
import com.pubinfo.passbook.common.entity.TSystemRole;
import com.pubinfo.passbook.common.model.dto.tax.InvoicePageParamObj;
import com.pubinfo.passbook.common.model.vo.InvoiceList;
import com.pubinfo.passbook.common.model.vo.base.MyPage;

import java.util.List;

/**
 *
 */
public interface TInvoiceService extends IService<TSourceInvoice> {
  
  MyPage<InvoiceList> listTInvoice(InvoicePageParamObj paramObj, TSystemRole role);
  
  JSONObject detailsInvoiceById(String id);
  
  Integer deleteByLogId(String logId);
  
  Boolean deleteInvoiceById(String id);
  
  Integer batchDeleteInvoiceByIds(List<String> ids);
  
}
